home *** CD-ROM | disk | FTP | other *** search
- \c1=dr cs:0 .psp;
- \c2=dr cs:5c .fcb;
- \FCB ; File Control Block
- Drive,b,1 ; Drive 0=default, 1=A, 2=B, etc.
- File,b,8 ; File name
- Ext,b,3 ; File extension
- Block,w,2 ; Current block number
- Rec Size,w,2 ; Logical record size
- File Size,d,4 ; File size
- Date,w,2 ; Date of last update
- Res.,+,a ; Reserved for DOS - don't display
- Rec,b,1 ; Current relative record number
- Rel Rec,d,4 ; Relative record number from beginning of file
- \PSP ; Program Segment Prefix
- Int 20,b,2 ; DOS return
- Topmem,w,2 ; Amount of memory in paragraphs
- Res.,+,1 ; Reserved for DOS
- Long Call,b,1 ; Long call to DOS function dispatcher
- DOS Func,d,4 ; CS:IP of DOS function dispatcher
- Term Addr,d,4 ; CS:IP of DOS terminate address
- Brk Addr,d,4 ; CS:IP of Ctrl-Break exit address
- Err Addr,d,4 ; CS:IP of critical error exit address
- Caller,w,2 ; PSP of caller
- File Tbl,b,14 ; File table
- Environ,w,2 ; DOS 2.00 Environment segment
- Last Stack,d,4 ; SS:SP after last DOS call
- Files,w,2 ; File table size
- File Ptr,d,4 ; File table pointer
- Res.,+,8 ; Reserved for DOS
- DOS Ver,b,2 ; DOS version after Setver
- Res.,+,1a ; Reserved for DOS
- FCB1,b,10 ; The first FCB read from the command line
- FCB2,b,14 ; The second FCB read from the command line
- \PSDATA ; Periscope's data area
- ID,b,9 ; Windows signature
- PS type,b,1 ; PS Model 0=Model I, 1=Model II, 2=Model II-X
- PS ver,w,2 ; Periscope's version number
- Port,w,2 ; Base port number
- Segment,w,2 ; Starting addr of protected memory
- User pg,b,1 ; First available page in paged memory
- User int,b,1 ; User interrupt number
- Page,b,1 ; Current page in bank 3 of paged memory
- Max pg,b,1 ; Maximum 8k page number
- Code,b,4 ; Interface code
- EMS,w,2 ; EMM handle for rm386, memory port for 386Max
- UMB,w,2 ; UMB segment for rm386
- EM type,b,1 ; 1 if 386max, 2 if rm386
- Op sys,b,1 ; 0=dos, 1=os/2 1.x, 2=os/2 2.x, 3=win 3, 4=pm, 80h=dpmi
- Orig ints,d,28 ; User interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
- Pointers,b,a ; Offsets of vectors 8-24 relative to 0:0
- Vskip,b,a ; If 1, don't change corresponding vector
- BIOS ints,d,28 ; Bios interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
- Orig ints,d,10 ; Original interrupts 13, 19, 25, & 26
- CRT data,b,1e ; Original video data (0:449 to 0:466)
- EGA data,b,14 ; Orignial EGA data (0:484 - 0:486) and pallette (last 11h)
- EGA,b,1 ; 1 if EGA present, 0 otherwise
- Alt key,b,1 ; Alt key input (0:419)
- Key data,w,24 ; Original keyboard buffer head and tail and data (last 20h)
- PSP,w,2 ; Last known PSP segment
- Trace,w,2 ; Trace count - 0 if not tracing
- Int seg,w,2 ; Save interrupt segment
- Key seg,w,2 ; Segment of keyboard def table
- Edit segs,w,4 ; Segments for keyboard edit buffers
- Temp s/l,w,4 ; Segment and length of temp use buffer
- PS s/l/a,w,6 ; Segment, length, and address of debug screen save area
- Scr s/l/a,w,6 ; Segment, length, and address of user screen save area
- Rec s/l,w,4 ; Segment and length of record def table
- Back s/l,w,4 ; Segment and length of traceback buffer
- Src s/l,w,4 ; Segment and length of source buffer
- Help s/l,w,4 ; Segment and length of help text
- Comm s/l,w,4 ; Segment and length of interrupt comment text
- Work s/l,w,4 ; Segment and length of Periscope work area
- Work s/l,w,4 ; Segment and length of Periscope work area 2
- Sym s/l,w,4 ; Segment and length of symbol table
- Back ptr,w,4 ; Traceback pointers
- Edit ptr,w,2 ; Edit buffer pointer
- D seg/o/l,w,6 ; Display segment, offset, and length
- Topmem,w,2 ; Top of memory (pgh form)
- Src info,w,4 ; Source file handle & prefix
- Brk enable,w,2 ; Breakpoint enable/disable bits
- Misc,b,2 ; Miscellaneous
- Alt crt,b,1 ; 0 if 1 CRT, 1 if 2 CRTs, 2 if 1 CRT with no save, 3 if alt crt
- Color,b,1 ; Color attribute
- Snow,b,1 ; 1 if /F option used, 0 otherwise
- Button,b,1 ; Status of the button
- PortB,b,1 ; Original value of Port B
- CPU,b,1 ; 0 if 8088, 1 if 80286, 2 if 80386, 3 if 80486